<div class="box">
	<div class="box-body">
		<div class="row marginZero">
				<epoch:table id="sysDictTable" queryUrl="${basePath}/sys/dict/findSysDictListAjax" rowId="id" showRefresh="true"
					        newBtn="true" delBtn="true" onAddClick="addClick">
					        <epoch:tr check="checkbox" titleTip="全选"></epoch:tr>
					        <epoch:tr name="字典编码" formName="DICT_CODE" width="25%">
					            <a href="javascript:void(0);" style="color:#3c8dbc" onclick="editSysDict('~{row.id}')">~{value}</a>
					        </epoch:tr>
					        <epoch:tr name="字典名称" formName="DICT_NAME" width="30%"></epoch:tr>
					        <epoch:tr name="字典描述" formName="DICT_COMMENTS" width="32%"></epoch:tr>
					        <epoch:tr name="是否启用" formName="DICT_FLAG"  filterType="select"
					            filterData="${lisFun.dictForFilter('PUB_Y_N')}" width="8%"></epoch:tr>
					        <epoch:tr name="操作" switchable="false" width="5%">
					            <button class="btn btn-danger btn-xs" onclick="delRows('~{row.id}');">
			                		<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
			              		</button>
					        </epoch:tr>
				</epoch:table>
		</div>
	</div>
</div>
<script type="text/javascript">
	function editSysDict(id){
		if(id!=null){
	        _tabs.showPage("information",null,'ID=' + id,null);
	    }else {
	        _tabs.showPage("information",null,null,null);
	    }
	}
	
	function addClick(){
    	_tabs.showPage("information",null,null,null);
    }
</script>